<h1>Signup Form</h1>

<?php
      

      echo form_open('login/create_user');
      echo "<p>";
      echo 'User Name:', form_input('username',set_value('username',''));
      echo "</p>";echo "<p>";
      echo 'Email:', form_input('email',set_value('email',''));
      echo "</p>";echo "<p>";
      echo 'Password:' , form_input('password',set_value('password',''));
      echo "</p>";echo "<p>";
      echo 'Password Confirmation:' , form_input('passwordconf',set_value('passwordconf',''));
      echo "</p>";echo "<p>";
      echo form_submit('submit', 'Create User');
      echo "</p>";echo "<p>";
      echo anchor('login','Back to login');
      echo "</p>";
      echo validation_errors();
?>
